<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>添加信息</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            background-color: #f9f9f9;
            margin: 0;
            padding: 20px;
        }
 
        h3 {
            color: #333;
            text-align: center;
        }
 
        hr {
            border: 0;
            height: 1px;
            background: #ccc;
            margin: 20px 0;
        }
 
        fieldset {
            background-color: #fff;
            border: 1px solid #ccc;
            padding: 20px;
            margin: 0 auto;
            width: 30%;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            border-radius: 5px;
        }
 
        legend {
            background-color: #044599;
            color: #fff;
            padding: 5px 10px;
            border-radius: 5px;
            text-align: center;
            width: auto; /* To make the legend width fit its content */
        }
 
        table {
            width: 90%;
            border-collapse: collapse;
        }
 
        label, input {
            display: block;
            width: 100%;
            box-sizing: border-box;
        }
 
        label {
            margin-bottom: 5px;
            font-weight: bold;
            color: #666;
        }
 
        input[type="text"] {
            padding: 8px;
            border: 1px solid #ccc;
            border-radius: 4px;
            margin-bottom: 15px;
        }
 
        input[type="submit"] {
            background-color: #044599;
            color: #fff;
            border: none;
            padding: 10px 20px;
            cursor: pointer;
            border-radius: 4px;
            font-size: 16px;
            display: block;
            width: auto;
            margin: 0 auto;
        }
 
        input[type="submit"]:hover {
            background-color: #033673;
        }
    </style>
</head>
<body>
    <h3>添加信息</h3>
    <hr />
    <form method="post">
        <fieldset>
            <legend>添加数据</legend>
            <table>
                <tr>
                    <td><label for="day">工作日期</label></td>
                    <td><input type="text" id="day" name="day" /></td>
                </tr>
                <tr>
                    <td><label for="name">员工姓名</label></td>
                    <td><input type="text" id="name" name="name" /></td>
                </tr>
                <tr>
                    <td><label for="idnumber">身份证号</label></td>
                    <td><input type="text" id="idnumber" name="idnumber" /></td>
                </tr>
                <tr>
                    <td><label for="salary">工资</label></td>
                    <td><input type="text" id="salary" name="salary" /></td>
                </tr>
                <tr>
                    <td><label for="reward">奖金</label></td>
                    <td><input type="text" id="reward" name="reward" /></td>
                </tr>
                <tr>
                    <td><label for="phonenumber">联系方式</label></td>
                    <td><input type="text" id="phonenumber" name="phonenumber" /></td>
                </tr>
            </table>
            <input type="submit" value="提交" />
        </fieldset>
    </form>
</body>
</html>